﻿using System;
using NUnit.Framework;

namespace AppTwo.Tests
{
    [TestFixture]
    public class GameTests
    {
        [Test]
        public void Number()
        {
            Assert.That(new Game().Process(1), Is.EqualTo("1"));
        }

        [Test]
        public void Fizz()
        {
            Assert.That(new Game().Process(3), Is.EqualTo("Fizz"));
            Assert.That(new Game().Process(3 * 2), Is.EqualTo("Fizz"));
            Assert.That(new Game().Process(3 * 3), Is.EqualTo("Fizz"));
        }

        [Test]
        public void Buzz()
        {
            Assert.That(new Game().Process(5), Is.EqualTo("Buzz"));
            Assert.That(new Game().Process(5 * 2), Is.EqualTo("Buzz"));
            Assert.That(new Game().Process(5 * 5), Is.EqualTo("Buzz"));
        }

        [Test]
        public void FizzBuzz()
        {
            Assert.That(new Game().Process(3 * 5), Is.EqualTo("FizzBuzz"));
            Assert.That(new Game().Process(3 * 5 * 2), Is.EqualTo("FizzBuzz"));
        }
    }
}
